package net.maku.events.service;

import net.maku.framework.common.utils.PageResult;
import net.maku.framework.mybatis.service.BaseService;
import net.maku.events.vo.UserJoinActivityVO;
import net.maku.events.query.UserJoinActivityQuery;
import net.maku.events.entity.UserJoinActivityEntity;

import java.util.List;
import java.util.Map;

/**
 * 用户参与的活动
 *
 * @author 阿沐 babamu@126.com
 * @since 1.0.0 2025-03-22
 */
public interface UserJoinActivityService extends BaseService<UserJoinActivityEntity> {

    PageResult<UserJoinActivityVO> page(UserJoinActivityQuery query);

    void save(UserJoinActivityVO vo);

    void update(UserJoinActivityVO vo);

    void delete(List<Long> idList);

    Map<Long, Long> getUserJoinActivity(List<Long> activityIdList, Integer businessType);
}